﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;
using BrokerBase.Lib.Policy;

namespace BrokerBase.Lib.Product
{
    /// <summary>
    /// 保险责任
    /// </summary>
    public interface IDuty:IPK
    {
        /// <summary>
        /// 所属保险产品
        /// </summary>
        IProduct Owner { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        int Sort { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        string Description { get; set; }
        /// <summary>
        /// Code(C#代码)
        /// </summary>
        string Code { get; set; }
        /// <summary>
        /// 被保人状态
        /// </summary>
        string InsurantStates { get; set; }
        /// <summary>
        /// 投保人状态
        /// </summary>
        string HolderStates { get; set; }

        Action<IPolicyPeriodActing, IDutyActing> Action { get; set; }
    }
}
